package ai.esc.speedy.admin.user.infrastructure.oauth2;

import ai.esc.speedy.admin.user.api.Client;

/**
 * @author Rubin
 * @version v1 2020/2/28 14:09
 */
public interface ClientService {
    /**
     * 根据clientId查询Client信息
     */
    Client findByClientId(String clientId);

    /**
     * 根据clientSecret查询client信息
     */
    Client findByClientSecret(String clientSecret);
}
